Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port toranj test-013-off-mesh-route-traffic.py #67

Merged
merged 3 commits into from
Sep 29, 2020

Conversation

priyankaCh22
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2020

Codecov Report

Merging #67 into master will decrease coverage by 0.11%.
The diff coverage is 13.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
- Coverage   41.72%   41.61%   -0.12%     
==========================================
  Files          37       37              
  Lines        3851     3864      +13     
==========================================
+ Hits         1607     1608       +1     
- Misses       2244     2256      +12     
Impacted Files Coverage Δ
silk/tools/wpan_table_parser.py 40.74% <0.00%> (ø)
silk/node/wpantund_base.py 26.31% <14.28%> (-1.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 987ce0a...e13b269. Read the comment docs.


dst.receive_udp_data(port, message, timeout)
time.sleep(delay)
src.send_udp_data(dst_address, port, message, src_address)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#68

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocked by issue #68

silk/tests/openthread/ot_test_off_mesh_route_traffic.py Outdated Show resolved Hide resolved
@@ -446,7 +446,8 @@ def parse_list(list_string):
# For each line, skip the first two characters (which are `\t"`) and last character (`"`), then split the string
# using whitespace as separator. The first entry is the IPv6 address.
#
return [line[2:-1].split()[0] for line in list_string.split("\n")[1:-1]]
# return [line[2:-1].split()[0] for line in list_string.split("\n")[1:-1]]
return [line[2:-1].split()[0] for line in list_string.split("\n")[1:-2]]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run other test cases for this change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with other relevant tests(slaac tests, inform_parent,parent_reset_child_recovery, child_attach_with_multiple_ip_addr) all are PASS.

Copy link
Contributor

@qilinkang qilinkang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jwhui jwhui merged commit 8e38bec into openthread:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants